package com.lxw.nonghe.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
/**
 * <p>
 * 家庭档案表
 * </p>
 *
 * @author lxw
 * @since 2025-04-17
 */
@Data
@Accessors(chain = true)
@TableName("t_family")
@ApiModel(value = "Family对象", description = "家庭档案表")
public class Family implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("家庭唯一编号")
    @TableId(type = IdType.AUTO)
    private Integer familyId;

    @ApiModelProperty("户主姓名")
    private String householder;

    @ApiModelProperty("家庭总人口数")
    private Integer population;

    @ApiModelProperty("农业人口数量")
    private Integer agriculturalPopulation;

    @ApiModelProperty("家庭详细住址")
    private String address;

    @ApiModelProperty("档案创建时间")
    private Date createTime;

    @ApiModelProperty("登记员姓名")
    private String registrar;
}
